@import 'flex.scss';
@import 'vars.scss';

/* 字体文件 */
@font-face {
    font-family: OPPOSANS;
    src: url('~@/static/font/OPPOSANS-M-subfont.ttf');
}
.font-OPPOSANS {
    font-family: OPPOSANS;
}

page {
    -webkit-overflow-scrolling: touch; // ios滑动不流畅
    height: 100%;
    background: $u-bg-color;
    width: 100%;
    font-size: 28rpx;
    // font-family: OPPOSANS;
    word-break: break-all; //英文文本不换行
    white-space: normal;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
}

.juzhong_transform {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.pointer {
    cursor: pointer;
}

.block {
    display: block;
}

.inline {
    display: inline-block;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.tc {
    text-align: center;
}

.fw {
    font-weight: bold;
}

.position-relative {
    position: relative;
}

.marign-auto {
    margin: 0 auto;
}

.oya {
    overflow-y: auto;
}

// ui
.u-list {
    height: auto !important;
}

// h5 tabbar 遮挡问题
uni-page-body > uni-view {
    /* #ifdef APP-PLUS || H5 */
    padding-bottom: var(--window-bottom);
    /* #endif */
}

.content-item-title {
    color: #333;
    font-size: 40rpx;
    font-weight: 500;
    padding: 16rpx 30rpx 16rpx 10rpx;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -10rpx;
        width: 4px;
        height: 1.1rem;
        background: #3662ec;
        transform: translateY(-50%);
    }
}

.bg-white {
    background: #fff;
    margin-top: 20rpx;
    padding-top: 0;
}
.uni-table-td {
    font-size: 24rpx !important;
}

.outer-box {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

    .msg {
        font-size: 30rpx;
        background: transparent;
        display: flex;
        flex-direction: column;
        color: #fff;
        width: 400rpx;
        background: rgba(0, 0, 0, 0.7);
        padding: 20rpx;
        border-radius: 20rpx;

        .title {
            text-align: center;
            font-size: 30rpx;
        }

        .line {
            width: 100%;
            height: 1rpx;
            background: #d8d8d8;
        }

        &-item {
            width: 100%;
            justify-content: space-between;
            display: flex;
            align-items: center;
            margin-top: 10rpx;
            font-size: 24rpx;
            .fx {
                width: 70rpx;
                height: 56rpx;
            }

            .dot {
                width: 20rpx;
                height: 20rpx;
                border-radius: 50%;
                margin-right: 8rpx;
            }
        }
    }
}

.u-collapse-item__content__text {
    padding: 10px !important;
}
